// 仪表盘环形图静态数据
// 每个对象包含：title、unit、total、data（两类分类）
export const dashboardRings = [
  //1 老人数量
  {
    key: "elderlyCount",
    title: "老人数量",
    unit: "人",
    total: 485,
    data: [
      { name: "外出中", value: 85 },
      { name: "在院中", value: 400 },
    ],
  },
  //2 床位数量
  {
    key: "bedCount",
    title: "床位数量",
    unit: "个",
    total: 600,
    data: [
      { name: "空闲中", value: 120 },
      { name: "入住中", value: 480 },
    ],
  },
  //3 服务单数量
  {
    key: "serviceOrderCount",
    title: "服务单数量",
    unit: "单",
    total: 220,
    data: [
      { name: "护理计划外", value: 40 },
      { name: "护理计划内", value: 180 },
    ],
  },
  //4 员工数量
  {
    key: "staffCount",
    title: "员工数量",
    unit: "人",
    total: 120,
    data: [
      { name: "管理层", value: 20 },
      { name: "普通员工", value: 100 },
    ],
  },
  //5 收入金额
  {
    key: "incomeAmount",
    title: "收入金额",
    unit: "元",
    total: 318000,
    data: [
      { name: "服务费用", value: 128000 },
      { name: "月度费用", value: 190000 },
    ],
  },
];

//代办事项模块的数据
export const todoItems = ref([
  {
    title: "入住",
    no: "001",
    elderName: "张三",
    createUserName: "李四",
    createTime: "2023-01-01 10:00:00",
  },
  {
    title: "退住",
    no: "002",
    elderName: "李四",
    createUserName: "王五",
    createTime: "2023-01-02 14:30:00",
  },
  {
    title: "退住",
    no: "003",
    elderName: "李四",
    createUserName: "王五",
    createTime: "2023-01-02 14:30:00",
  },
  {
    title: "退住",
    no: "004",
    elderName: "李四",
    createUserName: "王五",
    createTime: "2023-01-02 14:30:00",
  },
  {
    title: "退住",
    no: "005",
    elderName: "李四",
    createUserName: "王五",
    createTime: "2023-01-02 14:30:00",
  },
]);

// 老人护理等级分布数据
export const elderLevelData = [
  { value: 120, name: "一级护理等级" },
  { value: 185, name: "二级护理等级" },
  { value: 95, name: "三级护理等级" },
  { value: 65, name: "四级护理等级" },
  { value: 20, name: "特级护理等级" },
];

// 老人年龄分布数据
export const elderAgeData = [
  {
    ageGroup: "60岁以下",
    male: 25,
    female: 35,
  },
  {
    ageGroup: "60-70岁",
    male: 55,
    female: 20,
  },
  {
    ageGroup: "71-80岁",
    male: 40,
    female: 31,
  },
  {
    ageGroup: "81-90岁",
    male: 18,
    female: 4,
  },
  {
    ageGroup: "90岁以上",
    male: 25,
    female: 15,
  },
];

// 养老服务能力雷达图维度数据
export const serveAbilityDimensions = [
  { name: "助餐", max: 100, value: 86 },
  { name: "看书", max: 100, value: 72 },
  { name: "复健运动", max: 100, value: 90 },
  { name: "洗头", max: 100, value: 68 },
  { name: "口部清洁", max: 100, value: 78 },
];

// 默认导出以便按需导入
export default dashboardRings;

//导出下属员工的头像
//下属员工头像部分设置
export const logoArr = ref([
  {
    id: 1,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 2,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 3,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 4,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 5,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 6,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
  {
    id: 7,
    imgUrl:
      "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
  },
]);

// 预约信息静态数据
export const appointmentData = ref({
  // 2025-10-15 的预约信息
  "2025-10-15": [
    {
      id: 1,
      time: "09:00",
      type: "参观",
      elderName: "安欣",
      phone: "13666667676",
    },
    {
      id: 2,
      time: "10:00",
      type: "探访",
      elderName: "安欣",
      phone: "13666667676",
    },
  ],
  // 2025-10-16 的预约信息
  "2025-10-16": [
    {
      id: 3,
      time: "08:30",
      type: "体检",
      elderName: "李明",
      phone: "13888888888",
    },
    {
      id: 4,
      time: "14:00",
      type: "探访",
      elderName: "王芳",
      phone: "13999999999",
    },
    {
      id: 5,
      time: "16:30",
      type: "参观",
      elderName: "张伟",
      phone: "13777777777",
    },
  ],
  // 2025-10-17 的预约信息
  "2025-10-17": [
    {
      id: 6,
      time: "09:30",
      type: "入住咨询",
      elderName: "刘华",
      phone: "13555555555",
    },
  ],
  // 2025-10-18 的预约信息
  "2025-10-18": [
    {
      id: 7,
      time: "10:30",
      type: "探访",
      elderName: "陈静",
      phone: "13444444444",
    },
    {
      id: 8,
      time: "15:00",
      type: "参观",
      elderName: "赵强",
      phone: "13333333333",
    },
  ],
  // 2025-10-19 的预约信息
  "2025-10-19": [
    {
      id: 9,
      time: "11:00",
      type: "体检",
      elderName: "孙丽",
      phone: "13222222222",
    },
  ],
  // 2025-10-20 的预约信息
  "2025-10-20": [
    {
      id: 10,
      time: "09:15",
      type: "探访",
      elderName: "周杰",
      phone: "13111111111",
    },
    {
      id: 11,
      time: "13:30",
      type: "参观",
      elderName: "吴梅",
      phone: "13000000000",
    },
    {
      id: 12,
      time: "17:00",
      type: "入住咨询",
      elderName: "郑涛",
      phone: "12999999999",
    },
  ],
  // 2025-10-21 的预约信息（今天）
  "2025-10-21": [
    {
      id: 13,
      time: "08:00",
      type: "体检",
      elderName: "马超",
      phone: "12888888888",
    },
    {
      id: 14,
      time: "14:30",
      type: "探访",
      elderName: "黄丽",
      phone: "12777777777",
    },
    {
      id: 41,
      time: "10:30",
      type: "参观",
      elderName: "李建国",
      phone: "13988776655",
    },
    {
      id: 42,
      time: "16:00",
      type: "入住咨询",
      elderName: "王美华",
      phone: "13877665544",
    },
  ],
  // 2025-10-22 的预约信息
  "2025-10-22": [
    {
      id: 15,
      time: "09:00",
      type: "参观",
      elderName: "林志强",
      phone: "12666666666",
    },
    {
      id: 16,
      time: "11:30",
      type: "入住咨询",
      elderName: "何美丽",
      phone: "12555555555",
    },
    {
      id: 17,
      time: "15:45",
      type: "探访",
      elderName: "谢文华",
      phone: "12444444444",
    },
    {
      id: 43,
      time: "17:30",
      type: "体检",
      elderName: "张志华",
      phone: "13766554433",
    },
  ],

  // 2025-10-23 的预约信息
  "2025-10-23": [
    {
      id: 18,
      time: "08:30",
      type: "体检",
      elderName: "罗建国",
      phone: "12333333333",
    },
    {
      id: 19,
      time: "10:15",
      type: "参观",
      elderName: "邓小芳",
      phone: "12222222222",
    },
    {
      id: 44,
      time: "14:45",
      type: "探访",
      elderName: "刘美丽",
      phone: "13655443322",
    },
  ],

  // 2025-10-24 的预约信息
  "2025-10-24": [
    {
      id: 20,
      time: "09:45",
      type: "探访",
      elderName: "梁志明",
      phone: "12111111111",
    },
    {
      id: 21,
      time: "13:00",
      type: "入住咨询",
      elderName: "曾丽娟",
      phone: "12000000000",
    },
    {
      id: 22,
      time: "16:20",
      type: "参观",
      elderName: "潘伟强",
      phone: "11999999999",
    },
    {
      id: 45,
      time: "11:15",
      type: "体检",
      elderName: "陈建华",
      phone: "13544332211",
    },
  ],

  // 2025-10-25 的预约信息
  "2025-10-25": [
    {
      id: 23,
      time: "08:00",
      type: "体检",
      elderName: "韩雪梅",
      phone: "11888888888",
    },
    {
      id: 24,
      time: "14:30",
      type: "探访",
      elderName: "蒋文斌",
      phone: "11777777777",
    },
    {
      id: 46,
      time: "10:45",
      type: "参观",
      elderName: "王志强",
      phone: "13433221100",
    },
    {
      id: 47,
      time: "16:15",
      type: "入住咨询",
      elderName: "李小芳",
      phone: "13322110099",
    },
  ],

  // 2025-10-26 的预约信息
  "2025-10-26": [
    {
      id: 25,
      time: "10:00",
      type: "参观",
      elderName: "薛丽华",
      phone: "11666666666",
    },
    {
      id: 26,
      time: "15:30",
      type: "入住咨询",
      elderName: "董志伟",
      phone: "11555555555",
    },
    {
      id: 48,
      time: "09:15",
      type: "体检",
      elderName: "赵美华",
      phone: "13211009988",
    },
  ],

  // 2025-10-27 的预约信息
  "2025-10-27": [
    {
      id: 27,
      time: "09:30",
      type: "探访",
      elderName: "范小红",
      phone: "11444444444",
    },
    {
      id: 28,
      time: "11:45",
      type: "体检",
      elderName: "石建华",
      phone: "11333333333",
    },
    {
      id: 29,
      time: "16:00",
      type: "参观",
      elderName: "姚美玲",
      phone: "11222222222",
    },
    {
      id: 49,
      time: "13:20",
      type: "入住咨询",
      elderName: "孙志明",
      phone: "13100998877",
    },
  ],

  // 2025-10-28 的预约信息
  "2025-10-28": [
    {
      id: 30,
      time: "08:15",
      type: "入住咨询",
      elderName: "顾志强",
      phone: "11111111111",
    },
    {
      id: 31,
      time: "13:30",
      type: "探访",
      elderName: "康丽娜",
      phone: "11000000000",
    },
    {
      id: 50,
      time: "15:45",
      type: "参观",
      elderName: "周建国",
      phone: "12999887766",
    },
  ],
});
